<div class="header_wrap">
	<div class="main">
		<div id="top"></div>
		<div id="header">
		    <div id="logo"><a href="__APP__/"><img src="{$template_path}/res/images/logo.png" alt="网站logo" title="网站logo"/></a></div>
		    <div id="rightsidebar">
		    	<div id="top_use">
		    		<a href="javascript:setHome(this,window.location,'非IE浏览器不支持此功能，请手动设置！');" title="设为首页">设为首页</a>
		    		<span>&nbsp;|&nbsp;</span>
		    		<a href="javascript:addFavorite('非IE浏览器不支持此功能，请手动设置！');" title="收藏本站">收藏本站</a>
		    	</div>
		    	<div id="top_desc">
		    		优化推广-SEO参数设置-头部优化文字
		    	</div>
		    </div>
		    <div class="clear"></div>
		</div>
	</div>
	<ul class="nav">
		<li style="border-top-left-radius: 5px;" id="nav_0"><a href="__APP__/" <if condition="$is_index eq true">class="active"</if>>网站首页</a></li>
		<4jcms:catalist pid="0" num="all" item="field">
			<li class="nav_line"></li>
			<li <if condition="$field.last eq true">style="border-top-right-radius: 5px;"</if> id="nav_{$fieldkey+1}"><a href="{$field.link}" <if condition="$field.current eq true">class="active"</if>>{$field.catalog_name}</a>
				<!--subnav-->
				<ul>
				<4jcms:catalist pid="$field['catalog_id']" num="all" item="field2">
				<li><a href="{$field2.link}">{$field2.catalog_name}</a></li>
				</4jcms:catalist>
				</ul>
			</li>
		</4jcms:catalist>
	</ul>
	<div class="clear"></div>
</div>